<?php
/* @var $this ContentsController */
/* @var $model Contents */

$this->breadcrumbs=array(
	'Contents'=>array('index'),
	$model->title,
);

$this->menu=array(
	array('label'=>'List Contents', 'url'=>array('index')),
	array('label'=>'Create Contents', 'url'=>array('create')),
	array('label'=>'Update Contents', 'url'=>array('update', 'id'=>$model->cid)),
	array('label'=>'Delete Contents', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->cid),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Contents', 'url'=>array('admin')),
);
?>

		<div class="post">
			<h2 class="entry_title"><?php echo CHtml::link($model->title,array('site/view','id'=>$model->cid));?></h2>
			<p class="entry_data">
				<span>作者：</span>
				<span>发布时间：</span>
				<span>分类：</span>
			</p>
			<p>
		<?php
			$this->beginWidget('CMarkdown', array('purifyOutput'=>true));
			echo $model->text;
			$this->endWidget();
		?>
			</p>        
		</div>
